#include<iostream>
#include<string>
using namespace std;
int main()
	{
		int a[3][3]={100,90,70,60,85,78,82,85,97};
		string names[3]={"张三","李四","王五"};
		int sum,i,j;
		for(i=0;i<3;i++)
		{
			 sum=0;
			for(j=0;j<3;j++)
			{
				sum+=a[i][j];
			}
			cout<<names[i]<<"的成绩综合为："<<sum<<endl;
	}
	 return 0;
}